package ch01;

/**
 * @author yang
 * @date 2024-03-29
 */
public class Dog extends Pet{
    private final String name = "狗";

    public String getName() {
        return name;
    }

    public void load(){
        System.out.println("狗叫");
    }
}
